from django.shortcuts import render

# Create your views here.

from django.http import HttpResponse
from MediaCenter.DownTools.BtTest import main as BttMain

def emby(request, slug):
    # HttpDownClient.set_cookies('c_secure_uid=MTM1MDk=; c_secure_pass=99ea5449c7168e0a26f23e3b3525ef38;
    # c_secure_ssl=eWVhaA==; c_secure_tracker_ssl=eWVhaA==; c_secure_login=bm9wZQ==')
    # TorrentClient(torrent_source,'/home/as-media-center/Downloads/')

    BttMain()
    return HttpResponse()



